package top.leyi.IService;

import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

public interface  IFileStorgeService {
     final static  String path = "/images/";
     final static String prefix = "https://www.hut-idea.top/images/";

    ExecutorService exec = Executors.newFixedThreadPool(10);
    default void execAyscStorge(Runnable runnable){
      exec.execute(runnable);
    }
    String storgeImage(InputStream inputStream, String suffix)throws IOException;
}
